package com.xxyf.tools;

/**
 * @Author 小小怡飞
 * @Date 2022/9/10 22:27
 * @Version JDK 8
 */

public interface Scope {
    final static String NOTE="note";
    final static String PAGE="page";
    final static String USERINFO="userinfo";
    final static String PLAN="plan";
    final static String USERNAME="username";
    static String getScope(Object... key){
        StringBuilder scope= new StringBuilder();
        for (int i=0;i<key.length;i++) {
            scope.append(key[i]);
            if (i!=key.length-1){
                scope.append(":");
            }
        }
        return String.valueOf(scope);
    }


}
